package com.utils.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 
 * @TableName safetyoruser
 */
@TableName(value ="safetyoruser")
@Data
@NoArgsConstructor
public class Safetyoruser implements Serializable {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * safety表id
     */
    private Integer said;

    /**
     * user表的id
     */
    private Integer usid;

    public Safetyoruser(Integer said, Integer usid) {
        this.said = said;
        this.usid = usid;
    }

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}